package Book;

public class BookList {

    public Book[] books;

    public int SIZE_BOOK = 3;
    public int NOW_BOOK_SIZE = 3;

    public BookList() {
        books = new Book[SIZE_BOOK];
        books[0] = new Book("三国演义", "罗贯中", 18, "武侠");
        books[1] = new Book("西游记", "吴承恩", 19, "神话");
        books[2] = new Book("红楼梦", "曹雪芹", 16, "小说");
    }

    public void setBooks(int choice,Book book) {
        books[choice] = book;
    }

}
